package com.smsc.headend.task.engine.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.smsc.headend.module.scheme.entity.ConfigAutoRecollectTask;
import com.smsc.headend.task.engine.mapper.provider.ConfigAutoRecollectTaskProvider;
import com.smsc.headend.task.engine.mapper.provider.LogScheduleTaskProvider;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.UpdateProvider;

/**
 * @author liangli
 * @date 2020/11/27
 */
public interface ConfigAutoRecollectTaskMapper extends BaseMapper<ConfigAutoRecollectTask> {
    @UpdateProvider(value = ConfigAutoRecollectTaskProvider.class, method = "updateTask")
    @ResultType(Integer.class)
    int updateTask(ConfigAutoRecollectTask configAutoRecollectTask);
}
